/*
 * @Author: kanglang
 * @Date: 2021-02-23 11:22:57
 * @LastEditors: kanglang
 * @LastEditTime: 2021-02-26 14:00:49
 * @Description: 查看示例图
 */

import React from 'react';
import { StyleSheet, Text } from 'react-native';
import { px2dp } from '@/styles';

const CheckExampleImg = ({ title, onPress }) => {
  const handle = () => {
    onPress && onPress();
  };
  return (
    <Text style={styles.tempText} onPress={handle}>{title}</Text>
  );
};

export default CheckExampleImg;
const styles = StyleSheet.create({
  tempText: {
    color: '#2293FF',
    fontSize: px2dp(28),
    textDecorationLine: 'underline'
  },
});
